package com.liming.common.pojo.vo.coupon;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.liming.common.serializer.CentToYuanSerializer;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author liming
 * @date 2025/3/26
 */
@Data
@Schema(description = "更好的优惠券VO")
public class GoodCouponVO {

    @Schema(description = "优惠券ID")
    private Long id;

    @Schema(description = "还需消费金额")
    @JsonSerialize(using = CentToYuanSerializer.class)
    private Integer needConsumeAmount;

    @Schema(description = "优惠券折扣金额")
    @JsonSerialize(using = CentToYuanSerializer.class)
    private Integer discountAmount;
}
